Installation from CD-ROM

To load the SNiFF+ packages from CD-ROM, follow the steps below and refer to the following sections for instructions specific to your platform:

Insert the CD into the CD-ROM drive.
Mount the CD-ROM drive.
Please follow the platform-specific commands below. All steps refer to the directory

/ cdrom as the mount point.
Solaris 2.x
Enter the following to create the mount point and mount the CD-ROM drive:
mkdir /cdrom
mount -r -f hsfs /dev/dsk/c0t6d0s0 /cdrom
SunOS 4.x
Enter the following to create the mount point and mount the CD-ROM drive:
mkdir /cdrom
mount -r -t hsfs /dev/sr0 /cdrom
HP 9000 HP-UX 10.x/11.x
Enter the following to create the mount point and mount the CD-ROM drive:
/bin/mkdir /cdrom
/etc/mount /dev/dsk/c1d0s2 /cdrom -r -t cdfs
In the above example, the CD-ROM device has the device address 2. If the CD-ROM has not been successfully mounted after the execution of the above instructions, ask your system administrator to mount the CD-ROM drive using sam .
IBM RS/6000 AIX 4.x
Select available CD-ROM drives on your system:
/etc/lsdev -C -c cdrom -H
The first field of the resulting output string is the device name of the CD-ROM drive in /dev. e.g.: /dev/cd0
Create the mount point for the CD-ROM drive:
/bin/mkdir /cdrom
Mount the CD-ROM drive:
/etc/mount -vcdrfs -r /dev/cd0 /cdrom
If the CD-ROM has not been successfully mounted after the execution of the above instructions, ask your system administrator to mount the CD-ROM drive using smit .
Digital UNIX 3.x (former DEC OSF/1)
Enter the following to create the mount point and mount the CD-ROM drive:
mkdir /cdrom
mount -t cdfs -o ro -o noversion /dev/rz3c /cdrom
Digital UNIX 4.x
Enter the following to create the mount point and mount the CD-ROM drive:
mkdir /cdrom
mount -t cdfs -o ro /dev/rz4c /cdrom
SGI IRIX
SGI IRIX automatically mounts the inserted CD-ROM under the directory /CDROM. An icon representing the CD-ROM is displayed on the workspace.
SCO UnixWare
SCO UnixWare automatically mounts the inserted CD- ROM under the directory /CD-ROM_1. An icon representing the CD-ROM is displayed on the workspace.
SNI Sinix
Enter the following to create the mount point and mount the CD-ROM drive:
mkdir /cdrom
mount -o ro -F hs /dev/ios0/sdisk005s0 / cdrom
Linux
Enter the following to create the mount point and mount the CD-ROM drive:
mkdir /cdrom
mount -r /dev/cdrom /cdrom
Installing SNiFF+ from a CD-ROM drive on Windows
Copy the following files and the platform specific subdirectory from the CD-ROM drive to a temporary directory on the platform where you intend to install SNiFF+:
Install_kit
Sniff.tgz
Doc.tgz
Example.tgz
Note: If you don't want to copy the entire platform specific subdirectory, you can copy the compulsory Sniffbin.tgz , Gzcat and Tar files and other optional files that you may need from this subdirectory.

Make sure that you have executable permissions for

Gzcat and Tar files on the platform where you intend to install SNiFF+.
Run the installation script
Change to the directory where you have mounted the CD-ROM, e.g.:
cd /cdrom
Or change to the temporary directory in which you copied the files from the CD-ROM, see Installing SNiFF+ from a CD-ROM drive on Windows.

For all platforms (except HP when installing from CD- ROM), enter:

csh ./install.kit
For the HP platform (when installing from CD-ROM), type:
csh ./INSTALL.KIT\;1
The installation procedure prompts you for the full path name of the SNiFF+ root directory and creates it if necessary. You can then select the individual packages to be installed on your system.
Installation verification
After the packages have been installed, the installation procedure asks you whether it should check to see if the installation was successful.
The script determines whether all necessary files have been installed, checks the access rights and compiles a report on the installed GNU software.
Multiple platforms
SNiFF+ can be installed in a single directory for multiple platforms by installing the required platforms in one step. All platform-specific files are placed into platform specific subdirectories that are automatically created by the installation script. When starting SNiFF+ from this directory, the host platform is detected automatically and the appropriate executables are started.
GNU packages
During installation, you will be asked whether you want to install the GNU packages. The GNU packages for all platforms MUST reside in the directory /usr/local. Installation of the GNU packages requires write permissions for the resident directory.

| Note
| In order for RCS to work properly, GNU diff must be installed. GNU diff is supplied with the RCS package on the SNiFF+ CD-ROM. If you have already installed RCS, please verify that diff is available.

- Licensing SNiFF+ for UNIX
  There is a new Demo mode available that allows you to use SNiFF+ with projects containing up to 200 files, however remote compile and debug is not possible in this mode. If you want to evaluate SNiFF+ for larger projects, you are required to have a license.
  If you are evaluating SNiFF+, see Evaluation License for details.
  For details about how to obtain and install a product license, see Product license.
- Setting the environment variables
  Before running SNiFF+, the user must have read permission for
<sniff_directory> .
The following variables need to be set, where <sniff_directory> is the root of the directory structure created during your installation of SNiFF+:
$SNIFF_DIR
setenv SNIFF_DIR <sniff_directory> (for csh)
SNIFF_DIR=<sniff_directory>;
export SNIFF_DIR (for sh or ksh)
$PATH
set path = (<sniff_directory>/bin $path (for csh)
PATH=<sniff_directory>/bin:$PATH;
export PATH (for sh or ksh)
If you have installed the GNU products, your path must contain /usr/local/bin.
$LM_LICENSE_FILE (optional)
The $LM_LICENSE_FILE variable needs to be set only if the license.dat file is not in its default location in the SNiFF+ root directory or if you want to use an already existing FLEXlm product license file.
setenv LM_LICENSE_FILE
<any_location>/license.dat(for csh)
LM_LICENSE_FILE=<any_location>/ license.dat; export LM_LICENSE_FILE (for sh or ksh)
SNiFF+ can also be configured to use a specific license file by a command line option. Refer to the Reference Guide for details.
Starting SNiFF+ for UNIX
Once the environment has been set, you can start SNiFF+ by entering:
sniff &
For the exact command-line syntax refer to the Reference Guide.
As is true for any other X Windows application, the $DISPLAY variable must be set to point to the X server where you would like the SNiFF+ windows to appear.

| Note
| On several Intel based Unix systems the kernel is preconfigured to a maximum process size of 16MB. This can cause problems because SNiFF+ can easily reach this limit when loading projects. To avoid this we recommend increasing the limit to at least 32MB.